export const TIME_ZOOM = [
  {
    label: "30min",
    value: 0
  },
  {
    label: "1h",
    value: 1
  },
  {
    label: "2h",
    value: 2
  },
  {
    label: "6h",
    value: 3
  },
  {
    label: "12h",
    value: 4
  },
  {
    label: "24h",
    value: 5
  }
];

export const CODE_STREAM = [
  {
    label: "主流码",
    value: "MAIN",
    imgf: require("@/assets/images/jk_f_1.png"),
    img: require("@/assets/images/jk1.png")
  },
  {
    label: "子流码",
    value: "SUB",
    imgf: require("@/assets/images/jk_f_2.png"),
    img: require("@/assets/images/jk2.png")
  }
];

export const CAMERA_LIST = [
  {
    VideoInputChannel: {
      id: "1",
      inputPort: "1",
      name: "机器人"
    }
  },
  {
    VideoInputChannel: {
      id: "2",
      inputPort: "1",
      name: "2500T南炉"
    }
  },
  {
    VideoInputChannel: {
      id: "3",
      inputPort: "1",
      name: "2500T北炉"
    }
  },
  {
    VideoInputChannel: {
      id: "4",
      inputPort: "1",
      name: "2000T南炉"
    }
  },
  {
    VideoInputChannel: {
      id: "5",
      inputPort: "1",
      name: "2000T北炉"
    }
  },
  {
    VideoInputChannel: {
      id: "6",
      inputPort: "1",
      name: "4寸箱式炉"
    }
  },
  {
    VideoInputChannel: {
      id: "7",
      inputPort: "1",
      name: "3寸箱式炉南"
    }
  },
  {
    VideoInputChannel: {
      id: "8",
      inputPort: "1",
      name: "3寸箱式炉北"
    }
  },
  {
    VideoInputChannel: {
      id: "9",
      inputPort: "1",
      name: "630箱式炉北"
    }
  },
  {
    VideoInputChannel: {
      id: "10",
      inputPort: "1",
      name: "630箱式炉南"
    }
  },
  {
    VideoInputChannel: {
      id: "11",
      inputPort: "1",
      name: "Camera 01"
    }
  },
  {
    VideoInputChannel: {
      id: "12",
      inputPort: "1",
      name: "630自动高温转低炉"
    }
  },
  {
    VideoInputChannel: {
      id: "13",
      inputPort: "1",
      name: "160吨高温炉"
    }
  },
  {
    VideoInputChannel: {
      id: "14",
      inputPort: "1",
      name: "1500T高温箱式炉北"
    }
  },
  {
    VideoInputChannel: {
      id: "15",
      inputPort: "1",
      name: "1500T高温箱式炉南"
    }
  },
  {
    VideoInputChannel: {
      id: "16",
      inputPort: "1",
      name: "1600T高温箱式炉北"
    }
  },
  {
    VideoInputChannel: {
      id: "17",
      inputPort: "1",
      name: "1600T高温箱式炉南"
    }
  },
  {
    VideoInputChannel: {
      id: "18",
      inputPort: "1",
      name: "货架"
    }
  },
  {
    VideoInputChannel: {
      id: "19",
      inputPort: "1",
      name: "2500T液压 备用"
    }
  },
  {
    VideoInputChannel: {
      id: "20",
      inputPort: "1",
      name: "6300T液压 备用"
    }
  },
  {
    VideoInputChannel: {
      id: "21",
      inputPort: "1",
      name: "2500T液压 备用"
    }
  },
  {
    VideoInputChannel: {
      id: "22",
      inputPort: "1",
      name: "1600T自动高温转低炉东"
    }
  },
  {
    VideoInputChannel: {
      id: "23",
      inputPort: "1",
      name: "1600T自动高温转低炉西"
    }
  },
  {
    VideoInputChannel: {
      id: "24",
      inputPort: "1",
      name: "3150T高温转低炉南"
    }
  },
  {
    VideoInputChannel: {
      id: "25",
      inputPort: "1",
      name: "3150T高温转低炉西"
    }
  },
  {
    VideoInputChannel: {
      id: "26",
      inputPort: "1",
      name: "1000T高温转低炉南"
    }
  },
  {
    VideoInputChannel: {
      id: "27",
      inputPort: "1",
      name: "1000T高温转低炉北"
    }
  },
  {
    VideoInputChannel: {
      id: "28",
      inputPort: "1",
      name: "Camera 01"
    }
  }
];

export const HOST = document.location.host;
export const USERNAME_PASSWORD = "admin:hk12345678";
export const VIDEO_BAER_URL = `http://${USERNAME_PASSWORD}@${HOST}/ISAPI`;
// const DEV_INDEX = "17031824-26B8-184D-84B5-161937A2C988";
export const ACCESS_URL = "ws://" + process.env.VUE_APP_CAMEAR_URL;
